package com.waitingresult.designpattern.creation.factory.abs;

import java.util.HashMap;
import java.util.Map;

/**
 * 动物工厂类
 */
public abstract class AbsAnimalFactroy {

    public static Map<String,AbsAnimalFactroy> map = new HashMap<>();

    abstract void eat();

    abstract void sleep();

}
